package com.xj.common.bussiness.appUser.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mars
 * @since 2017-08-24
 */
@TableName("tb_app_user")
public class TbAppUser extends Model<TbAppUser> {

    private static final long serialVersionUID = 1L;

    
    
    private Integer id;


	/**
     * 用户名（电话）
     */
    
	private String username;
    /**
     * 密码
     */
	private String password;
    /**
     * 真实姓名
     */
	private String name;
    /**
     * 性别
     */
	private String sex;
    /**
     * 年龄
     */
	private Double age;
    /**
     * 公司名称
     */
	private String company;


	
    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Double getAge() {
		return age;
	}

	public void setAge(Double age) {
		this.age = age;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	@Override
	protected Serializable pkVal() {
		return this.username;
	}

}
